﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Data;

namespace MySimpleWCFService.interfaсes
{
    /// <summary>
    /// Work with Jabber Accounts
    /// Author: alexandr.pec@skypro.ch
    /// </summary>
    [ServiceContract]
    public interface IJabber
    {

          /// <summary>
        /// Create Jabber Account
        /// </summary>
        /// <param name="paramLogin"></param>
        /// <param name="paramPassword"></param>
        /// <returns></returns>
        [OperationContract]
        bool AddJabberAccount(string paramLogin, string paramPassword);

    }

}
